package com.example.airobotpositions.dao;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 职位修改参数
 */
@Data
@ApiModel(value = "职位修改参数")
public class UpdatePositionDto {

    @NotNull(message = "职位ID不能为空")
    @ApiModelProperty(value = "职位ID")
    private Integer id;

    @ApiModelProperty(value = "职位名称，如高级Java开发工程师")
    private String positionName;

    @ApiModelProperty(value = "所属部门")
    private String department;

    @ApiModelProperty(value = "职位级别（允许值：初级/中级/高级/资深/专家）")
    private String positionLevel;

    @ApiModelProperty(value = "职位详细描述，包括工作内容、职责等")
    private String jobDescription;

    @ApiModelProperty(value = "任职要求，包括学历、经验等硬性条件")
    private String jobRequirements;

    @ApiModelProperty(value = "所需技能列表（逗号分隔）")
    private String requiredSkills;

    @ApiModelProperty(value = "招聘状态: 0待招聘 1已关闭 2招聘中")
    private Integer status;

    @ApiModelProperty(value = "招聘人数")
    private Integer headcount;
} 